import { UserOutlined, LaptopOutlined } from "@ant-design/icons";
const router = [
  {
    key: "/home",
    icon: <UserOutlined />,
    label: "首页",
  },
  {
    key: "/article",
    icon: <UserOutlined />,
    label: "文章管理",
    children: [
      {
        key: "/article/article-manage",
        icon: <UserOutlined />,
        label: "文章管理",
      },
      {
        key: "/article/tag-manage",
        icon: <UserOutlined />,
        label: "标签管理",
      },
      {
        key: "/article/cate-manage",
        icon: <UserOutlined />,
        label: "分类管理",
      },
    ],
  },
  {
    key: "/site",
    icon: <UserOutlined />,
    label: "网站管理",
    children: [
      {
        key: "/site/dict",
        icon: <UserOutlined />,
        label: "字典管理",
      },
      {
        key: "/site/quzi",
        icon: <UserOutlined />,
        label: "圈子管理",
      },
      {
        key: "/site/friendLink",
        icon: <UserOutlined />,
        label: "友情链接",
      },
      {
        key: "/site/siteClass",
        icon: <UserOutlined />,
        label: "导航管理",
      },
    ],
  },
  {
    key:"/system",
    icon: <UserOutlined />,
    label: "系统管理",
    children: [
      {
        key: "/system/user",
        icon: <UserOutlined />,
        label: "用户管理",
      },
      {
        key: "/system/role",
        icon: <UserOutlined />,
        label: "角色管理",
      },
      {
        key:"/system/limit",
        icon:<UserOutlined />,
        label:"权限管理"
      }
    ],
  }
];
export default router;
